Thoughts...
I haven't debugged this, but my best guess
seeing you moving from 7 to 9 is that an XSS issue likely caused this.
The '#' character is reserved in the URL as an anchor and I think
that is why you're seeing this new behavior. My thinking is that
you'd be best served by sticking to a non-reserved character for the delimiter.